MailPoet\Cron\Workers\SendingQueue\Tasks\Newsletter S

Total Complexity 47
Dependencies 30
Dependents 2
Total lines 347
Lines of code 228
Logical lines of code 115
Comment lines 58
Methods 8
Properties 16

Methods 8

Method Rating Maintainability Complexity Lines of code
preProcessNewsletter()
B
37 14 81
getNewsletterFromQueue()
A
52 10 24
calculateCampaignId()
S
54 6 21
__construct()
S
50 5 30
prepareNewsletterForSending()
S
47 4 40
recoverFromInvalidState()
S
60 4 14
markNewsletterAsSent()
S
63 3 11
stopNewsletterPreProcessing()
S
70 1 7